﻿using B.S.XZYData.ErrorCode;
using MediatR;

namespace B.S.XZYData.Api.Wrter.Application.Command.Account
{
    public class AddAccountCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 账号
        /// </summary>
        public string Name { get; set; } = string.Empty;
        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd { get; set; } = string.Empty;
        /// <summary>
        /// 真实名称
        /// </summary>
        public string RealName { get; set; } = string.Empty;
        /// <summary>
        /// 角色id
        /// </summary>
        public List<long> RoleId { get; set; }
    }
}
